package com.kelp.codetoolkit.service

import com.intellij.database.psi.DbTable
import com.intellij.openapi.project.Project
import com.kelp.codetoolkit.entity.TableInfo

/**
 * @author: liuyuebai
 * @date: 2024/8/2 17:30
 * @description:
 */
interface TableInfoHandleService {

    companion object {
        fun getInstance(project: Project): TableInfoHandleService = project.getService(TableInfoHandleService::class.java)
    }

    fun parseToTableInfo(dbTable: DbTable): TableInfo
}